#include <iostream>

using namespace std;

int a[500];
int n,m,k,c;

int main()
{
	int sum,i=1;
	scanf("%d",&m);
	while(m--)
	{
		scanf("%d%d%d",&m,&k,&c);
		sum=m+k+c;
		a[i] = sum;
		i++;
	}
	
}
